package com.neusoft.neu.fy25g01.n98.service;

import com.neusoft.neu.fy25g01.n98.entity.CommonResult;
import com.neusoft.neu.fy25g01.n98.entity.Grid;

import java.util.List;

public interface GridService {
    CommonResult<Integer> addGrid(Grid grid);

    CommonResult<Integer> delGrid(Integer id);

    CommonResult<List<Grid>> findAll();

    CommonResult<Grid> findById(Integer gid);

    CommonResult<Integer> modGrid(Grid grid);
}
